package demo13;

/**
 * Created by Administrator on 2017/6/18.
 */
public class GetBoolean {
    public static void main(String[] args) {
        Boolean b1=new Boolean(true);
        Boolean b2=new Boolean("ok");
        System.out.println("b1: "+b1.booleanValue());
        System.out.println("b2: "+b2.booleanValue());
        Byte mybyte=new Byte("123");
        System.out.println(mybyte);
        Character mychar=new Character('s');
        System.out.println(mychar);
        Character mychar1=new Character('A');
        Character mychar2=new Character('a');
        System.out.println(mychar1+"是大写字母吗？"+Character.isUpperCase(mychar1));
        System.out.println(mychar2+"是小写字母吗？"+Character.isLowerCase(mychar2));
    }
}
